package com.mayisoftware.mayioa.business.staff.impl.dao;

import com.mayisoftware.mayioa.business.staff.api.domain.StaffInfo;
import com.mayisoftware.mayioa.business.staff.api.domain.StaffSearchInfo;
import com.mayisoftware.mayioa.business.staff.api.domain.StaffUploadInfo;
import com.mayisoftware.mayioa.business.staff.api.domain.StaffUploadSearchInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StaffUplodMapper {
    /**
     * 员工表 数据层
     *
     *
     */

        /**
         *
         * 查询过滤记录信息
         * */
        List<StaffUploadInfo> selectRecordList(StaffUploadSearchInfo uploadInfo);

        /**
         * 根据ID查询记录信息
         */
        List<StaffUploadInfo> selectRecordListById(@Param("importId") String recordId);

        /**
         * 查询需要解析的记录
         */
        List<StaffUploadInfo> selectRecordListNeedParse();

        /**
         *
         * 更新上传记录
         * */
        int updateInputRecord(StaffUploadInfo record);

        /**
         * 插入上传记录
         * */
        int insertImportOneRecord(StaffUploadInfo uploadInfo);
    }


